<?php
defined('BASEPATH') OR exit('No direct script access allowed');

?>



          
                    <div class="row">
                        <div class="col-md-12">
                             <div class="box">
                                <div class="box-header with-border">
                                    <h3 class="box-title">“<?php echo $shop["name"];?>” 产品描述批量替换</h3>
                                </div>
                                <div class="box-body">
                                <?php if($message){?>
                                    <div class="alert alert-warning">   <?php echo $message;?></div>
                                    <?php } ?>


                                  


              
                <?php echo form_open(current_url(), array('class' => 'form-horizontal', 'id' => 'form-create_notice')); ?>
                                        
                                        
                                        <div class="form-group">
                                          <?php  echo '<label for="desc"'._stringify_attributes(array('class' => 'col-sm-2 control-label')).'>默认产品描述</label>';?>
                                            <div class="col-sm-10">
                                            <?php echo tpl_ueditor('newdesc', '');?>
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <div  class="col-sm-offset-2 col-sm-10"><label><input type="checkbox" name="addtocontent" value="1"> 保留原来的内容</label></div>
                                        </div>
                                       <div class="form-group">
                                            <div class="col-sm-offset-2 col-sm-10">
                                                <div class="btn-group">
                                                <?php echo form_hidden('replacesource', 1);?> 

                                                    <?php echo form_hidden('id', $shop["id"]);?>                                               
                                                    <?php echo form_button(array('type' => 'submit', 'class' => 'btn btn-primary btn-flat', 'content' => lang('actions_submit'))); ?>
                                                 </div>
                                            </div>
                                        </div>

                                    <?php echo form_close();?>


                                </div>

                                </div>
                            </div>
                         </div>
                    </div>
              
<script>
$(document).ready(function() {
    $('#pushsite').select2();
});
</script>